package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 论坛举报对象 bbs_report
 * 
 * @author Gaotian
 * @date 2021-12-10
 */
public class BbsReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articleid;

    /** 举报人id */
    @Excel(name = "举报人id")
    private Long reporterid;

    /** 举报类型 */
    @Excel(name = "举报类型")
    private Long type;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 是否处理 */
    @Excel(name = "是否处理")
    private Long isprocess;

    /** 社区id */
    @Excel(name = "社区id")
    private Long communityid;

    private Integer fromsource;

    public BbsReport() {
    }

    public BbsReport(Long articleid, Long reporterid, Long communityid, Integer fromsource) {
        this.articleid = articleid;
        this.reporterid = reporterid;
        this.communityid = communityid;
        this.fromsource = fromsource;
    }

    public Integer getFromsource() {
        return fromsource;
    }

    public void setFromsource(Integer fromSource) {
        this.fromsource = fromSource;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleid(Long articleid) 
    {
        this.articleid = articleid;
    }

    public Long getArticleid() 
    {
        return articleid;
    }
    public void setReporterid(Long reporterid) 
    {
        this.reporterid = reporterid;
    }

    public Long getReporterid() 
    {
        return reporterid;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setIsprocess(Long isprocess) 
    {
        this.isprocess = isprocess;
    }

    public Long getIsprocess() 
    {
        return isprocess;
    }
    public void setCommunityid(Long communityid) 
    {
        this.communityid = communityid;
    }

    public Long getCommunityid() 
    {
        return communityid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleid", getArticleid())
            .append("reporterid", getReporterid())
            .append("type", getType())
            .append("memo", getMemo())
            .append("isprocess", getIsprocess())
            .append("communityid", getCommunityid())
            .toString();
    }
}
